package com.wzdigit.wms.raw.service.sap;

import com.wzdigit.wms.basic.client.response.basic.SkuBaseResponse;
import com.wzdigit.wms.basic.mapper.core.basic.SkuMapper;
import com.wzdigit.wms.raw.domain.dto.SapStoreDto;
import com.wzdigit.wms.raw.service.backtosap.GetStoreBackService;
import com.wzdigit.wms.web.service.wms2sap.getstore.ZDT_070_RspRECORDS;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

@Service
@Slf4j
public class SapStoreService {
    @Autowired
    GetStoreBackService getStoreBackService;
    @Autowired
    SkuMapper skuMapper ;

    public List<SapStoreDto> getSapStore(String factory, String skuCode, Integer wareHouseId,Integer status) {
        List<SapStoreDto> sapStoreList  = getStoreBackService.getStoreFromSap(factory, skuCode, wareHouseId,status);

       return  sapStoreList;
    }
}
